/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package omsalonsystem.ws;

import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import omsalonsystem.ws.Model.Business.ServicoBusiness;
import omsalonsystem.ws.Model.Servico;

import com.sun.xml.ws.tx.webservice.member.coord.RegistrationRequesterPortType;
import com.sun.xml.ws.tx.webservice.member.coord.RegistrationRequesterPortTypeImpl;

/**
 *
 * @author brsolucoes.lmolinari
 */
@WebService(serviceName = "CadastroService")
public class CadastroService {

    /**
     * This is a sample web service operation
     */
    @WebMethod(operationName = "hello")
    public String hello(@WebParam(name = "name") String txt) {
        return "Hello " + txt + " !";
    }

    /**
     * Web service operation
     */
    @WebMethod(action = "SalvarServico", operationName = "SalvarServico")
    public boolean SalvarServico(@WebParam(name = "servico") Servico servico) {
        ServicoBusiness servicoBusiness = new ServicoBusiness(servico);
        
        return false;
    }
}
